import { View } from "@tarojs/components";
import "./index.scss";

interface Props {
  selected: boolean; // 判断当前用户是不是选中界面
}

function Home(props: Props) {
  const { selected = false } = props;
  return <View className={`home ${selected ? "home-show" : ""}`}>首页</View>;
}

export default Home;
